<template>
  <div id="app">
    <nav>
      <router-link to="/login">登录</router-link> |
      <router-link to="/user">用户</router-link> |
      <router-link to="/">【动态菜单】</router-link> |
      <router-link to="/about">About</router-link>|
      <router-link to="/role">role</router-link> |
      <router-link to="/dept">部门</router-link>|
      <router-link to="/menu">【菜单】</router-link>|
      <router-link to="/post">岗位</router-link>|
      <router-link to="/Dict">字典</router-link>|
      <router-link to="/DictType">字典类型</router-link>|
      <router-link to="/ArgpCrops">农作物</router-link>|
      <router-link to="/ArgpCropsGrowth">农作物生长记录</router-link>|

    </nav>

    <router-view/>
  </div>

</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>
<script setup>
</script>